#pragma once

#include <deque>
#include "memory_allocator.hpp"
#include "ned_pool.hpp"

namespace cpac
{

	// Custom deque template.
	//--------------------------------------
	// Usage is cpac::deque<int>::type int_deque;
	// This container specifies a default allocator for us, but we could of course
	// pass it another one if we need to.
    template
        <
            typename _Type, 
            typename _Allocator = cpac::allocator_stl< _Type, cpac::ned_pooling_policy >
        > 
	struct deque 
	{
		typedef std::deque< _Type, _Allocator > type;
	};
	//--------------------------------------
}
